package com.unience.aws.monitor;

import com.unience.ec2.eclipse.config.Config;

public class MonitorAws {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		
		//Config config = Config.getInstance("1AJB72YE4BT2SRM42882","2LHISU3g3XiH9Jx+Oka4F8roaNS0lTSIo3yiwjRW", "595199202159" );
		AwsMonitorThread monitorThread = new AwsMonitorThread("1AJB72YE4BT2SRM42882","2LHISU3g3XiH9Jx+Oka4F8roaNS0lTSIo3yiwjRW", "595199202159", "test");
		
		monitorThread.run();
		
		
		while (true){
			
			try {
				Thread.sleep(10000);
			} catch (InterruptedException e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			}
		}

	}

}
